#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b;
	char c;
	cin>>a>>b>>c;
	if(c=='+')
	cout<<a+b;
	if(c=='-')
	cout<<a-b;
	if(c=='*')
	cout<<a*b;
	if(c=='/')
	b==0?cout<<"Divided by zero!":cout<<a/b;
	if(c!='+'&&c!='-'&&c!='*'&&c!='/')
	cout<<"Invalid operator!";
    return 0;
}

